package com.zhongying.jf.sms.liulangmao;

import java.text.SimpleDateFormat;
import java.util.Date;

public class GetTime {

	public String getTime(){
		SimpleDateFormat df = new SimpleDateFormat("yyyyMMddHHmmss");//??????????
		return df.format(new Date());	// new Date()????????????
	}
	public String getTime_normal(){
		SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");//??????????
		return df.format(new Date());	// new Date()????????????
	}
}
